import Vue from "vue";
import Router from "vue-router";
Vue.use(Router);

const router = new Router({
  base: process.env.BASE_URL,
  routes: [
    {
      path: "/",
      redirect: "/index",
    },
    {
      path: "/index",
      component: () => import(/* webpackChunkName: "chunk-home" */ "../pages/index/index.vue"),
    },
  ],
});

export default router;
